package com.example.web.service.impl;

import com.example.web.entity.StockOutDet;
import com.example.web.mapper.Smapper;
import com.example.web.service.Sservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

@Service
public class SserviceImpl implements Sservice {
    @Autowired
    private Smapper smapper;
    @Override
    public Double selectPriceById(int id) {
        return smapper.selectPriceById(id);
    }

    @Override
    public StockOutDet selectByStockOutDetId(int id) {
        return smapper.selectByStockOutDetId(id);
    }
}
